cmake_minimum_required(VERSION 2.6)
find_library(log-lib log)
add_executable(logdemo logdemo.c)
target_link_libraries(logdemo ${log-lib})
